package com.atguigu.eduorder.client;

import com.atguigu.commonutils.R;
import com.atguigu.commonutils.vo.orderVo.CourseWebVoOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @create: 2022/10/12
 * @Description:
 * @FileName: EduClient
 * @自定义内容：
 */
@FeignClient(name = "service-edu")
public interface EduClient {

    @GetMapping("/eduservice/courseFront/getCourseInfoOrder/{courseId}")
    public CourseWebVoOrder getCourseInfoOrder(@PathVariable("courseId") String courseId);

}
